package com.jsyl.entity.core;

import java.io.Serializable;
import java.math.BigDecimal;

import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;
/**
 * 产品实体
 * @author song
 *
 */
@Entity(table = "NF_PRODUCT")
public class Product extends BaseEntity implements Serializable{
	
	
	private static final long serialVersionUID = 4831956404672622520L;

	@Id
	@Column("ID")
	private int id;
	
	/*产品名称*/
	@Column("PRO_NAME")
    private String proName;
	
    //产品期限（月）
    @Column("TIME_LIMIT_MONTH")
    private Integer timeLimitMonth;
    
    //产品期限（日）
    @Column("TIME_LIMIT_DAY")
    private Integer timeLimitDay;
   
    /*年化利率*/
    @Column("YEAR_APR")
    private BigDecimal yearApr;
    
    /*管理费率*/
    @Column("MANAGE_RATE")
    private BigDecimal manageRate;
    
    /*手续费率*/
    @Column("HANDING_RATE")
    private BigDecimal handingRate;
    
   /* 逾期利率*/
    @Column("LATE_RATE")
    private BigDecimal lateRate;
    
    /*提前还款费率*/
    @Column("ADVANCE_RATE")
    private BigDecimal advanceRate;
    
   /* 顾问费率*/
    @Column("CONSULTANT_RATE")
    private BigDecimal consultantRate;
    
   /* 状态
    * 0：未生效 1：已生效 3：已停用
    * */
    @Column("STATUS")
    private Integer status;
    
	@Override
	public Integer getId() {
		// TODO Auto-generated method stub
		return id;
	}

	public String getProName() {
		return proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

	public Integer getTimeLimitMonth() {
		return timeLimitMonth;
	}

	public void setTimeLimitMonth(Integer timeLimitMonth) {
		this.timeLimitMonth = timeLimitMonth;
	}

	public Integer getTimeLimitDay() {
		return timeLimitDay;
	}

	public void setTimeLimitDay(Integer timeLimitDay) {
		this.timeLimitDay = timeLimitDay;
	}

	public BigDecimal getYearApr() {
		return yearApr;
	}

	public void setYearApr(BigDecimal yearApr) {
		this.yearApr = yearApr;
	}

	public BigDecimal getManageRate() {
		return manageRate;
	}

	public void setManageRate(BigDecimal manageRate) {
		this.manageRate = manageRate;
	}

	public BigDecimal getHandingRate() {
		return handingRate;
	}

	public void setHandingRate(BigDecimal handingRate) {
		this.handingRate = handingRate;
	}

	public BigDecimal getLateRate() {
		return lateRate;
	}

	public void setLateRate(BigDecimal lateRate) {
		this.lateRate = lateRate;
	}

	public BigDecimal getAdvanceRate() {
		return advanceRate;
	}

	public void setAdvanceRate(BigDecimal advanceRate) {
		this.advanceRate = advanceRate;
	}

	public BigDecimal getConsultantRate() {
		return consultantRate;
	}

	public void setConsultantRate(BigDecimal consultantRate) {
		this.consultantRate = consultantRate;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public void setId(int id) {
		this.id = id;
	}
  
}
